package com.liukai.todo.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * <p>
 * 操作记录（日志）表
 * </p>
 *
 * @author liukai
 * @since 2021-08-04
 */
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="TbRecord对象", description="操作记录（日志）表")
public class RecordInfo implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "记录Id")
    @TableId(value = "recordId", type = IdType.AUTO)
    private Integer recordid;

    @ApiModelProperty(value = "操作者的Id")
    @TableField("userId")
    private Integer userid;

    @ApiModelProperty(value = "执行的时间")
    @TableField("exeTime")
    private LocalDateTime exetime;

    @ApiModelProperty(value = "描述")
    private String desc;


}
